JavaScript

windowObject.hide Method

Syntax

windowObj.hide();

Description

Closes a window.

Discussion

When a window is hidden, it is no longer visible on the screen. hide() does not destroy the window. You can view the window again by calling windowObj.show().

Example

//get a pointer to the window object
var windowObj = {dialog.object}.getWindow('MYWINDOW');

if (windowObj) {
    windowObj.hide();
}

See Also